<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>圣杯布局</title>
    <style>
        body{
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            color: white;
            align-items: center;
            text-align: center;
        }
        .header{
            background-color: black;
            width: 100%;
            height: 30px;
        }
        .content{
            background-color: #ccc;
            width: 80%;
            height: 550px;
            display: flex;
            flex-direction: row;
        }
        .content-left{
            width: 10%;
            background-color: red;
        }
        .content-center{
            width: 80%;
            background-color: green;
        }
        .content-right{
            width: 10%;
            background-color: pink;
        }
        .footer{
            width: 100%;
            height: 50px;
            background-color: #acac;
        }

    </style>
</head>
<body>
    <div class="header">#header</div>
    <div class="content">
        <div class="content-left">#left</div>
        <div class="content-center">#center</div>
        <div class="content-right">#right</div>
    </div>
    <div class="footer">#footer</div>
</body>
</html>